namespace CQIE.TES.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("EvaluaHeight")]
    public partial class EvaluaHeight
    {
        public EvaluaHeight()
        {
            Records = new HashSet<Record>();
        }
        public int ID { get; set; }

        public double? SHeight { get; set; }

        public double? DHeight { get; set; }

        public double? THeight { get; set; }

        public double? LHeight { get; set; }

        public double? MHeight { get; set; }

        [Column(TypeName = "date")]
        public DateTime? StartTime { get; set; }

        [Column(TypeName = "date")]
        public DateTime? EndTime { get; set; }

        [StringLength(100)]
        public string Name { get; set; }

        [Column("StudyYear")]
        public int? StudyYearId { get; set; }

        public virtual StudyYear StudyYear { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public ICollection<Record> Records { get; set; }
    }
}
